<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>雪花特效</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    html {
      background-color: #0c0b0b;
    }
  </style>
</head>
<body>
<div style="height: 200px; background-color: #280e1e;"></div>

<canvas id="snow"></canvas>

<script src="snow.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
  window.onload = createSnow("snow", 88);
</script>
</body>
</html>
